package com.adaxi.adc.business.manager.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 乘客行程表
 * @TableName adc-passenger-trip
 */
@TableName(value ="adc_passenger_trip")
@Data
public class PassengerTrip implements Serializable {
    /**
     * 乘客的行程ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 起始地点纬度
     */
    @TableField(value = "start_location_latitude")
    private BigDecimal startLocationLatitude;

    /**
     * 乘客ID
     */
    @TableField(value = "passenger_id")
    private Long passengerId;

    /**
     * 乘客真实姓名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 乘客用户名
     */
    @TableField(value = "username")
    private String username;

    /**
     * 乘客手机号码
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 乘客的行程路线ID
     */
    @TableField(value = "passenger_route_id")
    private Long passengerRouteId;

    /**
     * 线路
     */
    @TableField(value = "route")
    private Object route;

    /**
     * 行程费用
     */
    @TableField(value = "price")
    private BigDecimal price;

    /**
     * 发车时间
     */
    @TableField(value = "start_time")
    private Date startTime;



    /**
     * 出发日期
     */
    @TableField(value = "start_date")
    private Date startDate;

    /**
     * 乘坐人数
     */
    @TableField(value = "num_passengers")
    private Integer numPassengers;

    /**
     * 行程状态
     */
    @TableField(value = "status")
    private Object status;

    /**
     * 起始地点名称
     */
    @TableField(value = "start_location_name")
    private String startLocationName;

    /**
     * 起始地点经度
     */
    @TableField(value = "start_location_longitude")
    private BigDecimal startLocationLongitude;

    /**
     * 车辆的行程ID
     */
    @TableField(value = "vehicle_trip_id")
    private Long vehicleTripId;

    /**
     * 逻辑删除状态字段: 0 表示未删除, 1 表示已删除
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}